<!DOCTYPE html>
<!--<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">-->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Title</title>
</head>
<head th:include="include/include"></head>
<script>
    $(function () {
        // alert("ssss");
    });
</script>
<body>
<!--<span th:text="${name}"></span>-->
<!--<div class="container">-->
    <!--<div ><h4>请选择你要进行的操作</h4></div>-->
    <!--<br/>-->
    <!--<div ><button type="button" class="btn btn-primary btn-lg btn-block active" onclick="location=''" >我要出租汽车</button></div>-->
    <!--<br/>-->
    <!--<div ><button type="button" class="btn btn-primary btn-lg btn-block"   disabled="disabled"onclick="location=''">我要租赁汽车</button></div>-->
<!--</div>-->
<div class="starter-template">
    <!--<p th:if="${param.logout}" class="bg-warning">已成功注销</p>&lt;!&ndash; 1 &ndash;&gt;-->
    <!--<p th:if="${param.error}" th:text="${session.SPRING_SECURITY_LAST_EXCEPTION.message}=='Bad credentials'?'账号/密码错误！':${session.SPRING_SECURITY_LAST_EXCEPTION.message}" class="bg-danger">-->

     <!-- 2 -->
    <h2>使用账号密码登录</h2>
    <form name="form" th:action="@{/login}" action="/login" method="POST"> <!-- 3 -->
        <div class="form-group">
            <label for="username">账号</label>
            <input type="text" class="form-control" name="username" id="username" value="" placeholder="账号" />
        </div>
        <div class="form-group">
            <label for="password">密码</label>
            <input type="password" class="form-control" name="password" id="password" placeholder="密码" />
        </div>

        <input type="submit" id="login" value="Login" class="btn btn-primary" />
    </form>
</div>



</body>
</html>